package com.yidu.menuProject.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.menuProject.action.vo.FindFood;
import com.yidu.menuProject.action.vo.UserIndent;
import com.yidu.menuProject.common.Page;
import com.yidu.menuProject.model.IndentModel;

public interface IndentModelMapper {
    int deleteByPrimaryKey(String indId);

    int insert(IndentModel record);

    int insertSelective(IndentModel record);

    IndentModel selectByPrimaryKey(String indId);

    int updateByPrimaryKeySelective(IndentModel record);

    int updateByPrimaryKey(IndentModel record);
    //---------------
    public List<UserIndent> findIndent(@Param("page") Page page,@Param("mealId") String mealId);

	public int findTotalRows();
	
	public List<IndentModel> selectIndent(String userId);

	public List<FindFood> findFood(String indId);
}